package com.gp.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.gp.model.dto.DistributorInfo;
import com.gp.model.entity.BaseUserrelation;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author 弓成龙
 * @since 2017-11-26
 */
public interface BaseUserrelationMapper extends BaseMapper<BaseUserrelation> {

  int insertRelation(BaseUserrelation relation);

  List<DistributorInfo> getlowers(@Param(value = "userCode") Long userId);
}
